import { HomeWorkList, QueryHomeWork } from '../../types/jobs/homeWork';
import fetch, { BaseResponse } from '../index';
/**
 * 获取用户列表
 * @returns ResMenu
 */
export async function getHomeWorkList(param: QueryHomeWork): Promise<BaseResponse<HomeWorkList>> {
  let { data } = await fetch.get<BaseResponse<HomeWorkList>>('/xuefu/oaphone/homework/stucommitlist', { ...param });
  return data;
}
